﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace BlazorApp.Model
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("score")]
    public partial class Score
    {
           public Score(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="id")]
           public int Id {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(ColumnName="stu_id")]
           public int StuId {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           [SugarColumn(ColumnName="c_name")]
           public string CName {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           [SugarColumn(ColumnName="grade")]
           public int? Grade {get;set;}

    }
}
